home *** CD-ROM | disk | FTP | other *** search
/ AmigActive 10 / AACD 10.iso / AACD / Games / MAME / src / drivers / shisen.c < prev    next >
C/C++ Source or Header  |  2000-04-23  |  14KB  |  419 lines

  1. /***************************************************************************
  2.  
  3. Shisen
  4.  
  5. driver by Nicola Salmoria
  6.  
  7. ***************************************************************************/
  8. #include "driver.h"
  9. #include "vidhrdw/generic.h"
  10. #include "sndhrdw/m72.h"
  11.  
  12. /* in vidhrdw/sichuan2.c */
  13. WRITE_HANDLER( sichuan2_bankswitch_w );
  14. WRITE_HANDLER( sichuan2_paletteram_w );
  15. void sichuan2_vh_screenrefresh(struct osd_bitmap *bitmap,int full_refresh);
  16.  
  17.  
  18.  
  19. static READ_HANDLER( sichuan2_dsw1_r )
  20. {
  21.     int ret = input_port_3_r(0);
  22.  
  23.     /* Based on the coin mode fill in the upper bits */
  24.     if (input_port_4_r(0) & 0x04)
  25.     {
  26.         /* Mode 1 */
  27.         ret    |= (input_port_5_r(0) << 4);
  28.     }
  29.     else
  30.     {
  31.         /* Mode 2 */
  32.         ret    |= (input_port_5_r(0) & 0xf0);
  33.     }
  34.  
  35.     return ret;
  36. }
  37.  
  38. static WRITE_HANDLER( sichuan2_coin_w )
  39. {
  40.     if ((data & 0xf9) != 0x01) logerror("coin ctrl = %02x\n",data);
  41.  
  42.     coin_counter_w(0,data & 2);
  43.     coin_counter_w(1,data & 4);
  44. }
  45.  
  46.  
  47.  
  48. static struct MemoryReadAddress readmem[] =
  49. {
  50.     { 0x0000, 0x7fff, MRA_ROM },
  51.     { 0x8000, 0xbfff, MRA_BANK1 },
  52.     { 0xc800, 0xcaff, MRA_RAM },
  53.     { 0xd000, 0xffff, MRA_RAM },
  54.     { -1 }    /* end of table */
  55. };
  56.  
  57. static struct MemoryWriteAddress writemem[] =
  58. {
  59.     { 0x0000, 0xbfff, MWA_ROM },
  60.     { 0xc800, 0xcaff, sichuan2_paletteram_w, &paletteram },
  61.     { 0xd000, 0xdfff, videoram_w, &videoram, &videoram_size },
  62.     { 0xe000, 0xffff, MWA_RAM },
  63.     { -1 }    /* end of table */
  64. };
  65.  
  66. static struct IOReadPort readport[] =
  67. {
  68.     { 0x00, 0x00, sichuan2_dsw1_r },
  69.     { 0x01, 0x01, input_port_4_r },
  70.     { 0x02, 0x02, input_port_0_r },
  71.     { 0x03, 0x03, input_port_1_r },
  72.     { 0x04, 0x04, input_port_2_r },
  73.     { -1 }    /* end of table */
  74. };
  75.  
  76. static struct IOWritePort writeport[] =
  77. {
  78.     { 0x00, 0x00, sichuan2_coin_w },
  79.     { 0x01, 0x01, m72_sound_command_w },
  80.     { 0x02, 0x02, sichuan2_bankswitch_w },
  81.     { -1 }    /* end of table */
  82. };
  83.  
  84. static struct MemoryReadAddress sound_readmem[] =
  85. {
  86.     { 0x0000, 0x3fff, MRA_ROM },
  87.     { 0xfd00, 0xffff, MRA_RAM },
  88.     { -1 }    /* end of table */
  89. };
  90.  
  91. static struct MemoryWriteAddress sound_writemem[] =
  92. {
  93.     { 0x0000, 0x3fff, MWA_ROM },
  94.     { 0xfd00, 0xffff, MWA_RAM },
  95.     { -1 }    /* end of table */
  96. };
  97.  
  98. static struct IOReadPort sound_readport[] =
  99. {
  100.     { 0x01, 0x01, YM2151_status_port_0_r },
  101.     { 0x80, 0x80, soundlatch_r },
  102.     { 0x84, 0x84, m72_sample_r },
  103.     { -1 }    /* end of table */
  104. };
  105.  
  106. static struct IOWritePort sound_writeport[] =
  107. {
  108.     { 0x00, 0x00, YM2151_register_port_0_w },
  109.     { 0x01, 0x01, YM2151_data_port_0_w },
  110.     { 0x80, 0x81, shisen_sample_addr_w },
  111.     { 0x82, 0x82, m72_sample_w },
  112.     { 0x83, 0x83, m72_sound_irq_ack_w },
  113.     { -1 }    /* end of table */
  114. };
  115.  
  116.  
  117.  
  118. INPUT_PORTS_START( shisen )
  119.     PORT_START    /* IN0 */
  120.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY )
  121.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY )
  122.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY )
  123.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY )
  124.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 )
  125.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 )
  126.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 )
  127.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  128.  
  129.     PORT_START    /* IN1 */
  130.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_JOYSTICK_UP | IPF_8WAY | IPF_COCKTAIL )
  131.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_JOYSTICK_DOWN | IPF_8WAY | IPF_COCKTAIL )
  132.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_JOYSTICK_LEFT | IPF_8WAY | IPF_COCKTAIL )
  133.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_JOYSTICK_RIGHT | IPF_8WAY | IPF_COCKTAIL )
  134.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_BUTTON1 | IPF_COCKTAIL )
  135.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_BUTTON2 | IPF_COCKTAIL )
  136.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_BUTTON3 | IPF_COCKTAIL )
  137.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  138.  
  139.     PORT_START    /* COIN */
  140.     PORT_BIT( 0x01, IP_ACTIVE_LOW, IPT_COIN1 )
  141.     PORT_BIT( 0x02, IP_ACTIVE_LOW, IPT_COIN2 )
  142.     PORT_BIT( 0x04, IP_ACTIVE_LOW, IPT_START1 )
  143.     PORT_BIT( 0x08, IP_ACTIVE_LOW, IPT_START2 )
  144.     PORT_BIT( 0x10, IP_ACTIVE_LOW, IPT_COIN3 )
  145.     PORT_BIT( 0x20, IP_ACTIVE_LOW, IPT_UNKNOWN )
  146.     PORT_BIT( 0x40, IP_ACTIVE_LOW, IPT_UNKNOWN )
  147.     PORT_BIT( 0x80, IP_ACTIVE_LOW, IPT_UNKNOWN )
  148.  
  149.     PORT_START    /* DSW1 */
  150.     PORT_DIPNAME( 0x03, 0x03, "Timer" )
  151.     PORT_DIPSETTING(    0x03, "1" )
  152.     PORT_DIPSETTING(    0x02, "2" )
  153.     PORT_DIPSETTING(    0x01, "3" )
  154.     PORT_DIPSETTING(    0x00, "4" )
  155.     PORT_DIPNAME( 0x0c, 0x0c, DEF_STR( Difficulty ) )
  156.     PORT_DIPSETTING(    0x0c, "1" )
  157.     PORT_DIPSETTING(    0x08, "2" )
  158.     PORT_DIPSETTING(    0x04, "3" )
  159.     PORT_DIPSETTING(    0x00, "4" )
  160.     PORT_BIT( 0xf0, IP_ACTIVE_HIGH, IPT_UNUSED )  /* Gets filled in based on the coin mode */
  161.  
  162.     PORT_START    /* DSW2 */
  163.     PORT_DIPNAME( 0x01, 0x00, DEF_STR( Unknown ) )
  164.     PORT_DIPSETTING(    0x01, DEF_STR( Off ) )
  165.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  166.     PORT_DIPNAME( 0x02, 0x00, DEF_STR( Demo_Sounds ) )
  167.     PORT_DIPSETTING(    0x02, DEF_STR( Off ) )
  168.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  169.     PORT_DIPNAME( 0x04, 0x04, "Coin Mode" )
  170.     PORT_DIPSETTING(    0x04, "Mode 1" )
  171.     PORT_DIPSETTING(    0x00, "Mode 2" )
  172.     PORT_DIPNAME( 0x08, 0x08, "Naughty Pics" )
  173.     PORT_DIPSETTING(    0x00, DEF_STR( Off ) )
  174.     PORT_DIPSETTING(    0x08, DEF_STR( On ) )
  175.     PORT_DIPNAME( 0x10, 0x10, "Gal Select" )
  176.     PORT_DIPSETTING(    0x00, DEF_STR( No ) )
  177.     PORT_DIPSETTING(    0x10, DEF_STR( Yes ) )
  178.     /* In stop mode, press 2 to stop and 1 to restart */
  179.     PORT_BITX   ( 0x20, 0x20, IPT_DIPSWITCH_NAME | IPF_CHEAT, "Stop Mode", IP_KEY_NONE, IP_JOY_NONE )
  180.     PORT_DIPSETTING(    0x20, DEF_STR( Off ) )
  181.     PORT_DIPSETTING(    0x00, DEF_STR( On ) )
  182.     PORT_DIPNAME( 0x40, 0x40, "Max Players" )
  183.     PORT_DIPSETTING(    0x00, "1" )
  184.     PORT_DIPSETTING(    0x40, "2" )
  185.     PORT_SERVICE( 0x80, IP_ACTIVE_LOW )
  186.  
  187.     /* Fake port to support the two different coin modes */
  188.     PORT_START
  189.     PORT_DIPNAME( 0x0f, 0x0f, "Coinage Mode 1" )   /* mapped on coin mode 1 */
  190.     PORT_DIPSETTING(    0x0a, DEF_STR( 6C_1C ) )
  191.     PORT_DIPSETTING(    0x0b, DEF_STR( 5C_1C ) )
  192.     PORT_DIPSETTING(    0x0c, DEF_STR( 4C_1C ) )
  193.     PORT_DIPSETTING(    0x0d, DEF_STR( 3C_1C ) )
  194.     PORT_DIPSETTING(    0x01, DEF_STR( 8C_3C ) )
  195.     PORT_DIPSETTING(    0x0e, DEF_STR( 2C_1C ) )
  196.     PORT_DIPSETTING(    0x02, DEF_STR( 5C_3C ) )
  197.     PORT_DIPSETTING(    0x03, DEF_STR( 3C_2C ) )
  198.     PORT_DIPSETTING(    0x0f, DEF_STR( 1C_1C ) )
  199.     PORT_DIPSETTING(    0x04, DEF_STR( 2C_3C ) )
  200.     PORT_DIPSETTING(    0x09, DEF_STR( 1C_2C ) )
  201.     PORT_DIPSETTING(    0x08, DEF_STR( 1C_3C ) )
  202.     PORT_DIPSETTING(    0x07, DEF_STR( 1C_4C ) )
  203.     PORT_DIPSETTING(    0x06, DEF_STR( 1C_5C ) )
  204.     PORT_DIPSETTING(    0x05, DEF_STR( 1C_6C ) )
  205.     PORT_DIPSETTING(    0x00, DEF_STR( Free_Play ) )
  206.      PORT_DIPNAME( 0x30, 0x30, "Coin A  Mode 2" )   /* mapped on coin mode 2 */
  207.     PORT_DIPSETTING(    0x00, DEF_STR( 5C_1C ) )
  208.     PORT_DIPSETTING(    0x10, DEF_STR( 3C_1C ) )
  209.     PORT_DIPSETTING(    0x20, DEF_STR( 2C_1C ) )
  210.     PORT_DIPSETTING(    0x30, DEF_STR( 1C_1C ) )
  211.     PORT_DIPNAME( 0xc0, 0xc0, "Coin B  Mode 2" )
  212.     PORT_DIPSETTING(    0xc0, DEF_STR( 1C_2C ) )
  213.     PORT_DIPSETTING(    0x80, DEF_STR( 1C_3C ) )
  214.     PORT_DIPSETTING(    0x40, DEF_STR( 1C_5C ) )
  215.     PORT_DIPSETTING(    0x00, DEF_STR( 1C_6C ) )
  216. INPUT_PORTS_END
  217.  
  218.  
  219.  
  220. static struct GfxLayout charlayout =
  221. {
  222.     8,8,
  223.     4096*8,
  224.     4,
  225.     { 0, 4, 0x80000*8+0, 0x80000*8+4 },
  226.     { 0, 1, 2, 3, 8*8+0, 8*8+1, 8*8+2, 8*8+3 },
  227.     { 0*8, 1*8, 2*8, 3*8, 4*8, 5*8, 6*8, 7*8 },
  228.     16*8
  229. };
  230.  
  231.  
  232. static struct GfxDecodeInfo gfxdecodeinfo[] =
  233. {
  234.     { REGION_GFX1, 0x00000, &charlayout,  0, 16 },
  235.     { -1 } /* end of array */
  236. };
  237.  
  238.  
  239.  
  240. static struct YM2151interface ym2151_interface =
  241. {
  242.     1,            /* 1 chip */
  243.     3579645,    /* 3.579645 MHz */
  244.     { YM3012_VOL(100,MIXER_PAN_LEFT,100,MIXER_PAN_RIGHT) },
  245.     { m72_ym2151_irq_handler },
  246.     { 0 }
  247. };
  248.  
  249. static struct DACinterface dac_interface =
  250. {
  251.     1,    /* 1 channel */
  252.     { 100 }
  253. };
  254.  
  255.  
  256.  
  257. static struct MachineDriver machine_driver_shisen =
  258. {
  259.     /* basic machine hardware */
  260.     {
  261.         {
  262.             CPU_Z80,
  263.             6000000,    /* 6 Mhz ? */
  264.             readmem,writemem,readport,writeport,
  265.             interrupt,1
  266.         },
  267.         {
  268.             CPU_Z80 | CPU_AUDIO_CPU,
  269.             3579645,           /* 3.579645 MHz? (Vigilante) */
  270.             sound_readmem,sound_writemem,sound_readport,sound_writeport,
  271.             nmi_interrupt,128    /* clocked by V1? (Vigilante) */
  272.                                 /* IRQs are generated by main Z80 and YM2151 */
  273.         }
  274.     },
  275.     55, DEFAULT_60HZ_VBLANK_DURATION,    /* frames per second, vblank duration */
  276.     1,    /* 1 CPU slice per frame - interleaving is forced when a sound command is written */                \
  277.     m72_init_sound,
  278.  
  279.     /* video hardware */
  280.     64*8, 32*8, { 0*8, 64*8-1, 0*8, 32*8-1 },
  281.     gfxdecodeinfo,
  282.     256, 256,
  283.     0,
  284.  
  285.     VIDEO_TYPE_RASTER|VIDEO_MODIFIES_PALETTE|VIDEO_SUPPORTS_DIRTY|VIDEO_PIXEL_ASPECT_RATIO_1_2,
  286.     0,
  287.     generic_vh_start,
  288.     generic_vh_stop,
  289.     sichuan2_vh_screenrefresh,
  290.  
  291.     /* sound hardware */
  292.     SOUND_SUPPORTS_STEREO,0,0,0,
  293.     {
  294.         {
  295.             SOUND_YM2151,
  296.             &ym2151_interface
  297.         },
  298.         {
  299.             SOUND_DAC,
  300.             &dac_interface
  301.         }
  302.     }
  303. };
  304.  
  305.  
  306.  
  307. /***************************************************************************
  308.  
  309.   Game driver(s)
  310.  
  311. ***************************************************************************/
  312.  
  313. ROM_START( sichuan2 )
  314.     ROM_REGION( 0x30000, REGION_CPU1 )    /* 64k+128k for main CPU */
  315.     ROM_LOAD( "ic06.06",      0x00000, 0x10000, 0x98a2459b )
  316.     ROM_RELOAD(               0x10000, 0x10000 )
  317.     ROM_LOAD( "ic07.03",      0x20000, 0x10000, 0x0350f6e2 )
  318.  
  319.     ROM_REGION( 0x10000, REGION_CPU2 )    /* 64k for the audio CPU */
  320.     ROM_LOAD( "ic01.01",      0x00000, 0x10000, 0x51b0a26c )
  321.  
  322.     ROM_REGION( 0x100000, REGION_GFX1 | REGIONFLAG_DISPOSE )
  323.     ROM_LOAD( "ic08.04",      0x00000, 0x10000, 0x1c0e221c )
  324.     ROM_LOAD( "ic09.05",      0x10000, 0x10000, 0x8a7d8284 )
  325.     ROM_LOAD( "ic12.08",      0x20000, 0x10000, 0x48e1d043 )
  326.     ROM_LOAD( "ic13.09",      0x30000, 0x10000, 0x3feff3f2 )
  327.     ROM_LOAD( "ic14.10",      0x40000, 0x10000, 0xb76a517d )
  328.     ROM_LOAD( "ic15.11",      0x50000, 0x10000, 0x8ff5ee7a )
  329.     ROM_LOAD( "ic16.12",      0x60000, 0x10000, 0x64e5d837 )
  330.     ROM_LOAD( "ic17.13",      0x70000, 0x10000, 0x02c1b2c4 )
  331.     ROM_LOAD( "ic18.14",      0x80000, 0x10000, 0xf5a8370e )
  332.     ROM_LOAD( "ic19.15",      0x90000, 0x10000, 0x7a9b7671 )
  333.     ROM_LOAD( "ic20.16",      0xa0000, 0x10000, 0x7fb396ad )
  334.     ROM_LOAD( "ic21.17",      0xb0000, 0x10000, 0xfb83c652 )
  335.     ROM_LOAD( "ic22.18",      0xc0000, 0x10000, 0xd8b689e9 )
  336.     ROM_LOAD( "ic23.19",      0xd0000, 0x10000, 0xe6611947 )
  337.     ROM_LOAD( "ic10.06",      0xe0000, 0x10000, 0x473b349a )
  338.     ROM_LOAD( "ic11.07",      0xf0000, 0x10000, 0xd9a60285 )
  339.  
  340.     ROM_REGION( 0x40000, REGION_SOUND1 )    /* samples */
  341.     ROM_LOAD( "ic02.02",      0x00000, 0x10000, 0x92f0093d )
  342.     ROM_LOAD( "ic03.03",      0x10000, 0x10000, 0x116a049c )
  343.     ROM_LOAD( "ic04.04",      0x20000, 0x10000, 0x6840692b )
  344.     ROM_LOAD( "ic05.05",      0x30000, 0x10000, 0x92ffe22a )
  345. ROM_END
  346.  
  347. ROM_START( sichuana )
  348.     ROM_REGION( 0x30000, REGION_CPU1 )    /* 64k+128k for main CPU */
  349.     ROM_LOAD( "sichuan.a6",   0x00000, 0x10000, 0xf8ac05ef )
  350.     ROM_RELOAD(               0x10000, 0x10000 )
  351.     ROM_LOAD( "ic07.03",      0x20000, 0x10000, 0x0350f6e2 )
  352.  
  353.     ROM_REGION( 0x10000, REGION_CPU2 )    /* 64k for the audio CPU */
  354.     ROM_LOAD( "ic01.01",      0x00000, 0x10000, 0x51b0a26c )
  355.  
  356.     ROM_REGION( 0x100000, REGION_GFX1 | REGIONFLAG_DISPOSE )
  357.     ROM_LOAD( "ic08.04",      0x00000, 0x10000, 0x1c0e221c )
  358.     ROM_LOAD( "ic09.05",      0x10000, 0x10000, 0x8a7d8284 )
  359.     ROM_LOAD( "ic12.08",      0x20000, 0x10000, 0x48e1d043 )
  360.     ROM_LOAD( "ic13.09",      0x30000, 0x10000, 0x3feff3f2 )
  361.     ROM_LOAD( "ic14.10",      0x40000, 0x10000, 0xb76a517d )
  362.     ROM_LOAD( "ic15.11",      0x50000, 0x10000, 0x8ff5ee7a )
  363.     ROM_LOAD( "ic16.12",      0x60000, 0x10000, 0x64e5d837 )
  364.     ROM_LOAD( "ic17.13",      0x70000, 0x10000, 0x02c1b2c4 )
  365.     ROM_LOAD( "ic18.14",      0x80000, 0x10000, 0xf5a8370e )
  366.     ROM_LOAD( "ic19.15",      0x90000, 0x10000, 0x7a9b7671 )
  367.     ROM_LOAD( "ic20.16",      0xa0000, 0x10000, 0x7fb396ad )
  368.     ROM_LOAD( "ic21.17",      0xb0000, 0x10000, 0xfb83c652 )
  369.     ROM_LOAD( "ic22.18",      0xc0000, 0x10000, 0xd8b689e9 )
  370.     ROM_LOAD( "ic23.19",      0xd0000, 0x10000, 0xe6611947 )
  371.     ROM_LOAD( "ic10.06",      0xe0000, 0x10000, 0x473b349a )
  372.     ROM_LOAD( "ic11.07",      0xf0000, 0x10000, 0xd9a60285 )
  373.  
  374.     ROM_REGION( 0x40000, REGION_SOUND1 )    /* samples */
  375.     ROM_LOAD( "ic02.02",      0x00000, 0x10000, 0x92f0093d )
  376.     ROM_LOAD( "ic03.03",      0x10000, 0x10000, 0x116a049c )
  377.     ROM_LOAD( "ic04.04",      0x20000, 0x10000, 0x6840692b )
  378.     ROM_LOAD( "ic05.05",      0x30000, 0x10000, 0x92ffe22a )
  379. ROM_END
  380.  
  381. ROM_START( shisen )
  382.     ROM_REGION( 0x30000, REGION_CPU1 )    /* 64k+128k for main CPU */
  383.     ROM_LOAD( "a-27-a.rom",   0x00000, 0x20000, 0xde2ecf05 )
  384.     ROM_RELOAD(               0x10000, 0x20000 )
  385.  
  386.     ROM_REGION( 0x10000, REGION_CPU2 )    /* 64k for the audio CPU */
  387.     ROM_LOAD( "ic01.01",      0x00000, 0x10000, 0x51b0a26c )
  388.  
  389.     ROM_REGION( 0x100000, REGION_GFX1 | REGIONFLAG_DISPOSE )
  390.     ROM_LOAD( "ic08.04",      0x00000, 0x10000, 0x1c0e221c )
  391.     ROM_LOAD( "ic09.05",      0x10000, 0x10000, 0x8a7d8284 )
  392.     ROM_LOAD( "ic12.08",      0x20000, 0x10000, 0x48e1d043 )
  393.     ROM_LOAD( "ic13.09",      0x30000, 0x10000, 0x3feff3f2 )
  394.     ROM_LOAD( "ic14.10",      0x40000, 0x10000, 0xb76a517d )
  395.     ROM_LOAD( "ic15.11",      0x50000, 0x10000, 0x8ff5ee7a )
  396.     ROM_LOAD( "ic16.12",      0x60000, 0x10000, 0x64e5d837 )
  397.     ROM_LOAD( "ic17.13",      0x70000, 0x10000, 0x02c1b2c4 )
  398.     ROM_LOAD( "ic18.14",      0x80000, 0x10000, 0xf5a8370e )
  399.     ROM_LOAD( "ic19.15",      0x90000, 0x10000, 0x7a9b7671 )
  400.     ROM_LOAD( "ic20.16",      0xa0000, 0x10000, 0x7fb396ad )
  401.     ROM_LOAD( "ic21.17",      0xb0000, 0x10000, 0xfb83c652 )
  402.     ROM_LOAD( "ic22.18",      0xc0000, 0x10000, 0xd8b689e9 )
  403.     ROM_LOAD( "ic23.19",      0xd0000, 0x10000, 0xe6611947 )
  404.     ROM_LOAD( "ic10.06",      0xe0000, 0x10000, 0x473b349a )
  405.     ROM_LOAD( "ic11.07",      0xf0000, 0x10000, 0xd9a60285 )
  406.  
  407.     ROM_REGION( 0x40000, REGION_SOUND1 )    /* samples */
  408.     ROM_LOAD( "ic02.02",      0x00000, 0x10000, 0x92f0093d )
  409.     ROM_LOAD( "ic03.03",      0x10000, 0x10000, 0x116a049c )
  410.     ROM_LOAD( "ic04.04",      0x20000, 0x10000, 0x6840692b )
  411.     ROM_LOAD( "ic05.05",      0x30000, 0x10000, 0x92ffe22a )
  412. ROM_END
  413.  
  414.  
  415.  
  416. GAME( 1989, sichuan2, 0,        shisen, shisen, 0, ROT0, "Tamtex", "Sichuan II (hack?) (set 1)" )
  417. GAME( 1989, sichuana, sichuan2, shisen, shisen, 0, ROT0, "Tamtex", "Sichuan II (hack ?) (set 2)" )
  418. GAME( 1989, shisen,   sichuan2, shisen, shisen, 0, ROT0, "Tamtex", "Shisensho - Joshiryo-Hen (Japan)" )
  419.